<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="../Common/header.jsp"></jsp:include>
<!-- Content Wrapper. Contains page content -->

<div class="content-wrapper">
	<section class="content-header">
		<h1>供应商</h1>
		<ol class="breadcrumb">
			<li><a href="<c:url value="/Admin/index" />"><i
					class="fa fa-dashboard"></i> Home</a></li>

			<c:forEach items="${routers}" var="router">
				<li><i class="${router.icon}"></i><a href="javascript:void(0)">&nbsp&nbsp${router.name
						}</a></li>
			</c:forEach>

		</ol>
	</section>

	<section class="content">

		<div class="page-header clearfix">
			<h1 class="col-sm-8"></h1>
		
		</div>
		<form method="post" id="form_adv_search" name="form_adv_search">
			<input type="hidden" name="ajax" id="ajax" value="1">
			<div class="operate panel panel-default">
				<div class="panel-body">
					<div class="pull-left form-inline">
						
						<a href="<c:url value="/Supplier/index" />" class="btn btn-sm btn-primary">返回</a>
					</div>
					<div class="pull-right">
						<a  href="<c:url value="/Supplier/edit/${supplier.id}" />"  class="btn btn-sm btn-primary">修改</a>
					</div>
				</div>
			</div>
		</form>
		<div class="box">
			<div class="box-body">
				<div class="col-sm-12">
					<form method="post" action="<c:url value="/Supplier/add" />">
			<div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                  <span aria-hidden="true">×</span></button>
                <h4 class="modal-title">查看供应商</h4>
              </div>
					<div class="box-body">
					                
						<div class="form-group col-xs-6">
							<label for="password">公司名称*:</label> <input type="text" disabled="disabled"
								class="form-control" name="companyName" id="companyName" value="${supplier.companyName}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="repassword">公司简称*：</label> <input type="text" disabled="disabled"
								class="form-control" name="shortName" id="shortName" value="${supplier.shortName}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">帐号*:</label> <input type="text" disabled="disabled"
								class="form-control" name="account" id="account" value="${supplier.account}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">税号*:</label> <input type="text" disabled="disabled"
								class="form-control" name="taxNumber" id="taxNumber" value="${supplier.taxNumber}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">付款方式:</label> <input type="text" disabled="disabled"
								class="form-control" name="payType" id="payType" value="${supplier.payType}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">地址：</label> <input type="text" disabled="disabled"
								class="form-control" name="address" id="address" value="${supplier.address}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">联系人:</label> <input type="text" disabled="disabled"
								class="form-control" name="contacts" id="contacts" value="${supplier.contacts}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">邮箱:</label> <input type="text" disabled="disabled"
								class="form-control" name="email" id="email" value="${supplier.email}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6"> 
							<label for="password">办公电话:</label> <input type="text" disabled="disabled"
								class="form-control" name="phone" id="phone" value="${supplier.phone}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">手机:</label> <input type="text" disabled="disabled"
								class="form-control" name="mobilePhone" id="mobilePhone" value="${supplier.mobilePhone}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">传真:</label> <input type="text" disabled="disabled"
								class="form-control" name="fax" id="fax" value="${supplier.fax}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="password">即时聊天:</label> <input type="text" disabled="disabled"
								class="form-control" name="qq" id="qq" value="${supplier.qq}"
								placeholder="">
						</div>
						
							<div class="form-group col-xs-12">
							<label for="password">其他:</label> <textarea rows="8" disabled="disabled"
								class="form-control" name="etc" id="etc" 
								>${supplier.etc}</textarea>
						</div>
						

					</div>
					<!-- /.box-body -->
				</form>
				</div>

			</div>
		</div>
	</section>

</div>
<!-- /.content-wrapper -->
<jsp:include page="../Common/footer.jsp"></jsp:include>
<script type="text/javascript">

</script>

